@font-face {
    font-family: 'icomoon';
    src:  url('../font/icomoon.eot?tm2q5y');
    src:  url('../font/icomoon.eot?tm2q5y#iefix') format('embedded-opentype'),
        url('../font/icomoon.ttf?tm2q5y') format('truetype'),
        url('../font/icomoon.woff?tm2q5y') format('woff'),
        url('../font/icomoon.svg?tm2q5y#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: "iconfont"; /* Project id 2841184 */
    src: url('../font/iconfont.woff2?t=1633338286065') format('woff2'),
            url('../font/iconfont.woff?t=1633338286065') format('woff'),
            url('../font/iconfont.ttf?t=1633338286065') format('truetype');
}
.iconfont {
    padding: 0;
    margin: 0;
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
  

@mixin fontColor {
    color: #f22e00;
}
@mixin liBgc {
    background-color: #f4f4f4;
}
body{
    background-color: #fff;
}

.w{
    width: 1190px;
    margin: 0 auto;
}
.header{
    width: 100%;
    line-height: 36px;
    font-size: 12px;
    color: #6c6c6c;
    background-color: #f5f5f5;

    .headLeft{
        float: left;

        & >li{
            float: left;
            padding: 0 6px;
        }

        .district{
            font-family: 'icomoon';
            position: relative;

            &:hover{
                background-color: #fff;
            }

            &:hover .diSub{
                display: block;
                cursor: pointer;
            }

            .diSub{
                position: absolute;
                top: 36px;
                left: 0;
                width: 242px;
                height: 26.5px*10;
                padding: 8px 0;
                overflow-y: scroll;
                background-color: #fff;
                display: none;
                z-index: 9999999;

                li{
                    padding-left: 8px;
                    line-height: 29px;

                    &:hover{
                        @include liBgc();
                    }
                }
            }
        }

        .tips{
            position: relative;
            .login{
                @include fontColor();
                margin-right: 5px;
            }
    
            .regist{
                color: #6c6c6c;
            }
    
            .regist:hover{
                @include fontColor();
            }

            .exit{
                width: 100px;
                height: 30px;
                position: absolute;
                top: 29px;
                left: 0;
                background: #fff;
                display: none;

                &:hover{
                    cursor: pointer;
                }
            }
        }

        .mobile:hover{
            @include fontColor();
        }
    }

    .headRight{
        float: right;
        &>li{
            float: left;
            padding: 0 6px;
            position: relative;

            i{
                font-family: 'icomoon';
            }

            &:not([class]):hover{
                @include fontColor();
            }

            .subNav{
                width: max-content;
                padding: 8px 0;
                font-size: 12px;
                line-height: 29px;
                color: #6c6c6c;
                background-color: #fff;
                position: absolute;
                top: 36px;
                left: 0;
                display: none;
                z-index: 99999;

                li{
                    padding: 0 8px;
                }
            }

        }
        .myTaobao:hover{
            background-color: #fff;
            @include fontColor();

            .subNav{
                display: block;

                li{
                    &:hover{
                        background-color: #f4f4f4;
                        cursor: pointer;
                    }
                }
            }
        }
        .shopCar{
            .icon,.count{
                font-weight: 800;
                @include fontColor();
            }
            .subNav li{
                span{
                    float: left;
                    margin-left: 20px;
                }
                a{
                    float: right;
                    background-color: #ff4400;
                    color: #fff;
                    line-height: 29px;
                    padding: 0 8px;
                }
            }



            &:hover{
                background-color: #fff;
                @include fontColor();
    
                .subNav{
                    display: block;
                }
            }
        }

        .separated{
            color: #e2dddd;
        }
    }
}
.headerCon{
    height: 85px;
    .logo{
        float: left;
        width: 162px;
        height: 84px;
        line-height: 80px;
        i{
            font-size: 45px;
            color: #ff0036;
            border-right: 1px solid #f0f0f0;
        }
    }
    .store{
        float: left;
        margin-top: 15px;
        margin-left: 30px;
        padding-right: 30px;
        border-right: 1px solid #f0f0f0;
        .storeName{
            font-size: 14px;
            box-sizing: border-box;
            margin-top: 2px;

            &:hover{
                text-decoration: underline;
            }
        }
        .slogo{
            a{
                display: block;
                width: 25px;
                height: 25px;
                background-image: url(../images/goodsListBg.png);
                background-repeat: no-repeat;
                background-position: -435px -86px;
                margin-top: 10px;
            }
        }
    }
    .search{
        float: right;
        width: 540px;
        height: 36px;
        margin-top: 15px;
        // background-color: #f00;
        border: 3px solid #ff0036;
        display: flex;

        .searchCon{
            flex: 1;
            padding: 0;
            margin: 0;
            height: 30px;
            padding: 1px 3px 5px 5px;
            border: 0;
            outline: 0;
            &::-webkit-input-placeholder{
                padding-left: 5px;
                color: #cccccc;
            }
        }
        .inpl{
            &::-webkit-input-placeholder{
                color: #000;
            }
        }
        .searchBtn{
            width: 80px;
            height: 36px;
            background-color: #ff0036;
            line-height: 36px;
            text-align: center;
            color: #fff;
        }
    }
}
.tp-shop{
    border-top: 1px solid #c8baaa;
    width: 100%;
    height: 150px;
    background-color: #ccc;
}

.product {
    display: flex;

    .showImg {
        width: 460px;
        height: 604px;
        overflow: hidden;

        .showGoods {
            position: relative;
            margin: 20px 20px 0px 20px;

            .shadow {
                width: 150px;
                height: 150px;
                background: rgba(0, 255, 0, .3);
                position: absolute;
                top: 0;
                left: 0;
                display: none;

            }
            img {
                width: 418px;
                display: block;
            }
        }
        .list {
            position: relative;
            width: 460px;
            height: 82px;
    
            .showList {
                width: max-content;
                margin-top: 5px;
                padding:0 30px;
                position: absolute;
                top: 0;
                left: 0;
                box-sizing: border-box;
    
                li {
                    float: left;
                    width: 60px;
                    margin-left: 16px;
                    padding-top: 22px;
                    box-sizing: border-box;
                }
    
                img {
                    width: 100%;
                    box-sizing: border-box;
                }
    
                .active {
                    border: 1px solid #000;
                }
            }
        }
    }

    .goodsDetail {
        width: 510px;
        margin-left: 10px;
        margin-top: 20px;
        position: relative;

        .scaleGoods {
            width: 500px;
            height: 500px;
            position: absolute;
            overflow: hidden;
            display: none;

            .bigImg {
                width: 1000px;
                height: 1000px;
                position: absolute;
                top: 0;
                left: 0;
            }
        }
        .goodsInfo{
            font-weight: 700;
            margin-bottom: 5px;
            overflow: hidden;
        }
        .collection{
            margin-bottom: 5px;
            color: #ff0036;
            text-indent: 3px;
            font-size: 14px;
        }
        .golden{
            height: 50px;
            background-image: url(../images/guoqingbg.png);
            background-repeat: no-repeat;
            background-size: 510px 50px;

            img{
                margin-left: 5px;
                vertical-align: middle;
            }

            span{
                font-size: 12px;
                line-height: 50px;
                color: #fff;
            }
        }
        .panel{
            height: 57px;
            padding: 5px 0;
            background-image: url(../images/onebg.png);
            background-repeat: no-repeat;
            background-size: 510px 67px;
            color: #ff0036;
            .price{
                font-weight: 700;
            }
        }
        .freight{
            height: 37px;
            font-size: 12px;
            line-height: 37px;
            color: #999999;
            span{
                margin-left: 10px;
            }
        }
        .ind{
            height: 16px;
            padding: 10px 0;
            border-top: 1px dashed #c9c9c9;
            border-bottom: 1px dashed #c9c9c9;
            margin-bottom: 10px;
            ul{
                li{
                    float: left;
                    width: 169px;
                    text-align: center;
                    line-height: 16px;
                    font-size: 12px;
                    color: #999999;

                    span{
                        color: #f22e00;
                        font-size: 13px;
                        font-weight: 700;
                    }
                }
            }
        }
        .key{
            height: 374px;
            padding: 5px 0 12px 0;

            ul{
                li{
                    height: 36px;
                    font-size: 12px;
                    overflow: hidden;

                    .keyTitle{
                        float: left;
                        width: 66px;
                        height: 18px;
                        margin-top: 6px;
                    }
                    .counts{
                        float: left;
                        border: 1px solid #a7a6ac;
                        width: 36px;
                        height: 26px;
                        padding: 3px 2px 0 3px;
                        outline: 0;
                    }
                    .changeCount{
                        float: left;
                        width: 18px;
                        height: 31px;
                        font-family: 'icomoon';
                        margin-left: 3px;
                        .add{
                            width: 16px;
                            height: 12px;
                            border: 1px solid #a7a6ab;
                            text-align: center;
                            margin-bottom: 2px;
                            &:hover{
                                cursor: pointer;
                            }
                        }
                        .reduce{
                            width: 16px;
                            height: 12px;
                            border: 1px solid #a7a6ab;
                            text-align: center;
                            &:hover{
                                cursor: pointer;
                            }
                        }
                    }
                }
                .color{
                    height: 300px;
                }
            }
        }
        .action{
            width: 434px;
            height: 40px;
            padding: 10px 0 0 66px;
            // margin-top: 10px;

            a{
                display: block;
                width: 180px;
                height: 40px;
                text-align: center;
                line-height: 40px;
            }
            .buy{
                float: left;
                box-sizing: border-box;
                border: 1px solid #ff0036;
                background-color: #ffeded;
                color: #ff4f36;
                margin-right: 10px;
            }
            .appendToCar{
                float: left;
                background-color: #ff0036;
                color: #fff;
            }
        }
        .service{
            font-size: 12px;
            color: #999999;
            margin-top: 20px;
        }
    }
}

.loginPopUp{
    display: none;
    width: 600px;
    height: 240px;
    background-image: url(../images/userBg.png);
    background-position: 0 0;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -120px;
    margin-left: -300px;

    p{
        text-align: center;
        line-height: 240px;
        font-size: 20px;
    }
    .determine{
        position: absolute;
        bottom: 0;
        right: 65px;
        width: 60px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        background-color: blue;
        color: #fff;
        border: 1px solid #ccc;

        &:hover{
            color: #000;
            cursor: pointer;
        }
    }
    .cancel{
        position: absolute;
        bottom: 0;
        right: 0;
        width: 60px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        background-color: #efefef;
        color: #000;
        border: 1px solid #ccc;

        &:hover{
            color: #ff4f36;
            cursor: pointer;
        }
    }
}

.go{
    display: none;
    height: 60px;
    position: fixed;
    top: 0;
    left: 190px;
    background-color: #6ff;
    p{
        text-align: center;
        line-height: 60px;
        font-size: 20px;
    }
    .confirm{
        position: absolute;
        bottom: 0;
        right: 65px;
        width: 60px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        background-color: blue;
        color: #fff;
        border: 1px solid #ccc;

        &:hover{
            color: #000;
            cursor: pointer;
        }
    }
    .abrogate{
        position: absolute;
        bottom: 0;
        right: 0;
        width: 60px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        background-color: #efefef;
        color: #000;
        border: 1px solid #ccc;

        &:hover{
            color: #ff4f36;
            cursor: pointer;
        }
    }
}













